package com.wfs.myapp.repository.bk;

import com.wfs.myapp.entity.domain.bk.BkSendMessage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SendMessageRepository extends JpaRepository<BkSendMessage, Long> {
    List<BkSendMessage> findByTypeAndStatus(Integer type, Integer status);

    BkSendMessage findByTypeAndTargetId(Integer type, Long targetId);
}




